<?

/* DB connection
----------------------------------*/
$db_name = '';
$db_user = '';
$db_pass = '';

$post_fish = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin commodo rhoncus nisi. Maecenas pretium egestas nisi. Nulla vitae lacus eget lectus luctus ornare. Maecenas volutpat odio ut mi. Vestibulum metus. Vestibulum malesuada dictum ipsum.';

mysql_connect('localhost',$db_user,$db_pass) or die('Cant connect to DB:'.mysql_error()); # connect
mysql_select_db($db_name) or die("Could not select database: ".mysql_error()); # select_db

/**/
$query['table1'] = "
CREATE TABLE records2 (
 id int(11) NOT NULL auto_increment
 ,stamp TIMESTAMP NOT NULL
 ,ptime TIMESTAMP NOT NULL
 ,title varchar(255) NOT NULL
 ,short TEXT
 ,body text NOT NULL
 ,flags varchar(255)
 ,PRIMARY KEY  (id)
) ENGINE=MyISAM;
";

function recurs_record () {
	
	for ($i = 1; $i <= 10; $i++) {
		$recursQuery = 'INSERT INTO records VALUES ('.$i.', \'record'.$i.'\', \''.$post_fish.'\')';	
	}
}


?>